﻿using Jinjia.Approve.Entity.Entity.JJFlow;
using Jinjia.Core.BaseInfrastructure.StorageModel;
using System.Threading.Tasks;

namespace Jinjia.Approve.IRepository.JJFlow
{
    public interface IFlowDesignRepository : IBaseRepository<jj_flow_design>
    {
        /// <summary>
        /// 通过模板id获取模板对应的xml类
        /// </summary>
        /// <param name="template_id"></param>
        /// <returns></returns>
        Task<jj_flow_design> GetByTemplateId(int template_id);

        Task<int> Save(jj_flow_design data);
    }
}